﻿using Microsoft.AspNetCore.Http;
using YJ_Core.Entities.Utils;
using static YJ_App.Tool.Image.ImageDto;

namespace YJ_App.Tool.Image
{
    /// <summary>
    /// 公共添加图片接口
    /// </summary>
    public interface IImageService
    {
        /// <summary>
        /// 上传图片到ImgBB
        /// </summary>
        /// <param name="file">上传的文件</param>
        /// <param name="type">图片类型</param>
        /// <returns></returns>
        public Task<List<ImgBBResponse>> UploadImageImgBB(UploadImageInput input);

    }
}
